home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / help_jr / open < prev    next >
Text File  |  1994-08-31  |  801b  |  29 lines

  1. open:
  2.  
  3. Synopsis: open a file for read/write operations.
  4.  
  5. Syntax:    open ( FILENAME, MODE )
  6.     open ( FILENAME, MODE, BUFFSIZE )
  7.  
  8. Description:
  9.  
  10.     Open will open a file  or a pipe for read or write
  11.     operations. Open allows the user to specify the mode of
  12.     operation, and optionally a buffer-size for I/O. The "normal"
  13.     UNIX modes are:
  14.  
  15.     MODE:    "r"    read access
  16.         "w"    write access
  17.         "a"    append: open for writing at end of file, or
  18.             create for writing
  19.  
  20.     BUFFSIZE:    Buffersize is specified in bytes. If BUFFSIZE
  21.             is not specified the system defaults are used.
  22.  
  23.     Other operating systems may have different mode keys. Look at
  24.     the API documentation for fopen() on your system to find what
  25.     mode values are acceptable.
  26.  
  27. See Also: FILES close, printf, fprintf, read, readb, readm, write, 
  28.           writeb, writem
  29.